package com.elite.service;

import com.elite.entity.Adress;

import java.util.List;

/**
 * Created by hbl on 2017/1/23.
 */
public interface AdressService {
    /**
     * 往地址管理表中添加一条数据
     * @param adress
     */
    void addAddress(Adress adress);

    List selectAddressById(Integer userId);

    void delete(Integer addressId);

    void updateByAddressId(Adress adress);

    Adress selectByPrimaryKey(Integer addressId);
}
